class FilterGenerator
  attr_reader :foldersToBeKept
  @foldersToBeKept
  def initialize(file=".")
    @foldersToBeKept = Array.new
    @file = file
    self.generateFilter
  end
  
  def generateFilter
    if File.file?(@file)
      File.open(@file,"r") {|file| 
        while line = file.gets
          @foldersToBeKept << line.chomp
        end
      }
    end
  end
  
end